package com.nxn.dinner.web.action.dwz;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.nxn.core.service.EntityManager;
import com.nxn.core.web.action.base.DWZCRUDAction;
import com.nxn.dinner.model.Dish;
import com.nxn.dinner.service.DishService;

@Controller("dishDwzAction")
@Scope("prototype")
public class DishAction extends DWZCRUDAction<Dish, Long> {
	private static final long serialVersionUID = 7181660335240855585L;
	
	@Autowired
	private DishService dishService ;
	
	public EntityManager<Dish, Long> getServiceImpl() {
		return dishService;
	}

}
